{temp('html/recruit/pc/head')}

</head>

<body>
<script type="text/javascript">
var origin = artDialog.open.origin;
var input = origin.document.getElementById("{$id}");
var type = {$t};
if(type == 1){
	input.value = '{$tplj}';
}else if(type == 3){  //im
	input.value += '[p:{$tplj}]';
}else{
	input.value += '{$tplj},';
}
{if(@$src)}
origin.document.getElementById("{$src}").src = '{photo({$tplj})}';
{/if}
{if(@$mc)}
	origin.document.getElementById("{$mc}").value = '{$tpname}';
{/if}
input.select();
art.dialog.close();
</script>
</body>
</html>